/**
 *
 */
package de.cbf.cam.dsa.services.impl.rcp_provider.factorys;

import org.osgi.framework.Bundle;
import org.osgi.framework.ServiceFactory;
import org.osgi.framework.ServiceRegistration;

import de.cbf.cam.dsa.services.impl.rcp_provider.persister_service.IServiceRCPPersister;
import de.cbf.cam.dsa.services.impl.rcp_provider.persister_service.ServiceRCPPersisterImpl;

/**
 * @author salter
 *
 */
public class ServiceFactoryPersister implements ServiceFactory<IServiceRCPPersister> {

	/**
	 *
	 */
	public ServiceFactoryPersister() {
	}

	@Override
	public IServiceRCPPersister getService(Bundle bundle,
			ServiceRegistration<IServiceRCPPersister> registration) {

		return new ServiceRCPPersisterImpl();
	}

	@Override
	public void ungetService(Bundle bundle,
			ServiceRegistration<IServiceRCPPersister> registration,
			IServiceRCPPersister service) {
	}

}
